
#pragma once
#ifndef _CLIENT_H_
#define _CLIENT_H_

#include <string>

#ifdef WIN32
#include <WinSock2.h>
#include <WS2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
#endif

typedef struct tagSreenPos
{
    int x;
    int y;

    tagSreenPos()
    {
        x = 0;
        y = 0;
    }
}ScreenPos, *LPScreenPos;


class CClient
{
public:
    CClient(void);
    ~CClient(void);

    SOCKET m_ClientScoket;
    bool ConnectServer(std::string ServerIP, unsigned short Port);
    void DisConnectServer();
    bool SendData(LPVOID Data, size_t BufferSize);
};

#endif
